﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200046F RID: 1135
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterRogueMapRoomScRsp : IMessage<EnterRogueMapRoomScRsp>, IMessage, IEquatable<EnterRogueMapRoomScRsp>, IDeepCloneable<EnterRogueMapRoomScRsp>, IBufferMessage
	{
		// Token: 0x17000E9C RID: 3740
		// (get) Token: 0x06003319 RID: 13081 RVA: 0x0008C6A7 File Offset: 0x0008A8A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterRogueMapRoomScRsp> Parser
		{
			get
			{
				return EnterRogueMapRoomScRsp._parser;
			}
		}

		// Token: 0x17000E9D RID: 3741
		// (get) Token: 0x0600331A RID: 13082 RVA: 0x0008C6AE File Offset: 0x0008A8AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterRogueMapRoomScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000E9E RID: 3742
		// (get) Token: 0x0600331B RID: 13083 RVA: 0x0008C6C0 File Offset: 0x0008A8C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterRogueMapRoomScRsp.Descriptor;
			}
		}

		// Token: 0x0600331C RID: 13084 RVA: 0x0008C6C7 File Offset: 0x0008A8C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterRogueMapRoomScRsp()
		{
		}

		// Token: 0x0600331D RID: 13085 RVA: 0x0008C6D0 File Offset: 0x0008A8D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterRogueMapRoomScRsp(EnterRogueMapRoomScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.lineup_ = ((other.lineup_ != null) ? other.lineup_.Clone() : null);
			this.scene_ = ((other.scene_ != null) ? other.scene_.Clone() : null);
			this.rotateInfo_ = ((other.rotateInfo_ != null) ? other.rotateInfo_.Clone() : null);
			this.curSiteId_ = other.curSiteId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600331E RID: 13086 RVA: 0x0008C760 File Offset: 0x0008A960
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterRogueMapRoomScRsp Clone()
		{
			return new EnterRogueMapRoomScRsp(this);
		}

		// Token: 0x17000E9F RID: 3743
		// (get) Token: 0x0600331F RID: 13087 RVA: 0x0008C768 File Offset: 0x0008A968
		// (set) Token: 0x06003320 RID: 13088 RVA: 0x0008C770 File Offset: 0x0008A970
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000EA0 RID: 3744
		// (get) Token: 0x06003321 RID: 13089 RVA: 0x0008C779 File Offset: 0x0008A979
		// (set) Token: 0x06003322 RID: 13090 RVA: 0x0008C781 File Offset: 0x0008A981
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LineupInfo Lineup
		{
			get
			{
				return this.lineup_;
			}
			set
			{
				this.lineup_ = value;
			}
		}

		// Token: 0x17000EA1 RID: 3745
		// (get) Token: 0x06003323 RID: 13091 RVA: 0x0008C78A File Offset: 0x0008A98A
		// (set) Token: 0x06003324 RID: 13092 RVA: 0x0008C792 File Offset: 0x0008A992
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneInfo Scene
		{
			get
			{
				return this.scene_;
			}
			set
			{
				this.scene_ = value;
			}
		}

		// Token: 0x17000EA2 RID: 3746
		// (get) Token: 0x06003325 RID: 13093 RVA: 0x0008C79B File Offset: 0x0008A99B
		// (set) Token: 0x06003326 RID: 13094 RVA: 0x0008C7A3 File Offset: 0x0008A9A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMapRotateInfo RotateInfo
		{
			get
			{
				return this.rotateInfo_;
			}
			set
			{
				this.rotateInfo_ = value;
			}
		}

		// Token: 0x17000EA3 RID: 3747
		// (get) Token: 0x06003327 RID: 13095 RVA: 0x0008C7AC File Offset: 0x0008A9AC
		// (set) Token: 0x06003328 RID: 13096 RVA: 0x0008C7B4 File Offset: 0x0008A9B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CurSiteId
		{
			get
			{
				return this.curSiteId_;
			}
			set
			{
				this.curSiteId_ = value;
			}
		}

		// Token: 0x06003329 RID: 13097 RVA: 0x0008C7BD File Offset: 0x0008A9BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterRogueMapRoomScRsp);
		}

		// Token: 0x0600332A RID: 13098 RVA: 0x0008C7CC File Offset: 0x0008A9CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterRogueMapRoomScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.Lineup, other.Lineup) && object.Equals(this.Scene, other.Scene) && object.Equals(this.RotateInfo, other.RotateInfo) && this.CurSiteId == other.CurSiteId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600332B RID: 13099 RVA: 0x0008C854 File Offset: 0x0008AA54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.lineup_ != null)
			{
				num ^= this.Lineup.GetHashCode();
			}
			if (this.scene_ != null)
			{
				num ^= this.Scene.GetHashCode();
			}
			if (this.rotateInfo_ != null)
			{
				num ^= this.RotateInfo.GetHashCode();
			}
			if (this.CurSiteId != 0U)
			{
				num ^= this.CurSiteId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600332C RID: 13100 RVA: 0x0008C8EE File Offset: 0x0008AAEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600332D RID: 13101 RVA: 0x0008C8F6 File Offset: 0x0008AAF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600332E RID: 13102 RVA: 0x0008C900 File Offset: 0x0008AB00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.lineup_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.Lineup);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this.rotateInfo_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.RotateInfo);
			}
			if (this.CurSiteId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.CurSiteId);
			}
			if (this.scene_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.Scene);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600332F RID: 13103 RVA: 0x0008C9B0 File Offset: 0x0008ABB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.lineup_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Lineup);
			}
			if (this.scene_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Scene);
			}
			if (this.rotateInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RotateInfo);
			}
			if (this.CurSiteId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CurSiteId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003330 RID: 13104 RVA: 0x0008CA50 File Offset: 0x0008AC50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterRogueMapRoomScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.lineup_ != null)
			{
				if (this.lineup_ == null)
				{
					this.Lineup = new LineupInfo();
				}
				this.Lineup.MergeFrom(other.Lineup);
			}
			if (other.scene_ != null)
			{
				if (this.scene_ == null)
				{
					this.Scene = new SceneInfo();
				}
				this.Scene.MergeFrom(other.Scene);
			}
			if (other.rotateInfo_ != null)
			{
				if (this.rotateInfo_ == null)
				{
					this.RotateInfo = new RogueMapRotateInfo();
				}
				this.RotateInfo.MergeFrom(other.RotateInfo);
			}
			if (other.CurSiteId != 0U)
			{
				this.CurSiteId = other.CurSiteId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003331 RID: 13105 RVA: 0x0008CB24 File Offset: 0x0008AD24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003332 RID: 13106 RVA: 0x0008CB30 File Offset: 0x0008AD30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num == 18U)
					{
						if (this.lineup_ == null)
						{
							this.Lineup = new LineupInfo();
						}
						input.ReadMessage(this.Lineup);
						continue;
					}
					if (num == 56U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 74U)
					{
						if (this.rotateInfo_ == null)
						{
							this.RotateInfo = new RogueMapRotateInfo();
						}
						input.ReadMessage(this.RotateInfo);
						continue;
					}
					if (num == 80U)
					{
						this.CurSiteId = input.ReadUInt32();
						continue;
					}
					if (num == 90U)
					{
						if (this.scene_ == null)
						{
							this.Scene = new SceneInfo();
						}
						input.ReadMessage(this.Scene);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400140B RID: 5131
		private static readonly MessageParser<EnterRogueMapRoomScRsp> _parser = new MessageParser<EnterRogueMapRoomScRsp>(() => new EnterRogueMapRoomScRsp());

		// Token: 0x0400140C RID: 5132
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400140D RID: 5133
		public const int RetcodeFieldNumber = 7;

		// Token: 0x0400140E RID: 5134
		private uint retcode_;

		// Token: 0x0400140F RID: 5135
		public const int LineupFieldNumber = 2;

		// Token: 0x04001410 RID: 5136
		private LineupInfo lineup_;

		// Token: 0x04001411 RID: 5137
		public const int SceneFieldNumber = 11;

		// Token: 0x04001412 RID: 5138
		private SceneInfo scene_;

		// Token: 0x04001413 RID: 5139
		public const int RotateInfoFieldNumber = 9;

		// Token: 0x04001414 RID: 5140
		private RogueMapRotateInfo rotateInfo_;

		// Token: 0x04001415 RID: 5141
		public const int CurSiteIdFieldNumber = 10;

		// Token: 0x04001416 RID: 5142
		private uint curSiteId_;
	}
}
